package edu.webarchitechture.bank.ejb3.services;

import org.hibernate.Session;
import edu.webarchitechture.bank.ejb3.domain.Customer;

import java.util.List;

/**
 * Data access class to access customer related DB calls.
 *
 * @author Inoka Dissanayaka.
 */
public class CustomerManagerDAO {
    Session session;

    public CustomerManagerDAO(Session session) {
        this.session = session;    
    }

    public Long createCustomer(Customer customer) {
        return null;  //To change body of created methods use File | Settings | File Templates.
    }

    public List<Customer> getCustomersOfAccount(Long accountId) {
        return null;  //To change body of created methods use File | Settings | File Templates.
    }

    public List<Customer> getCustomersOfLastName(String lastName) {
        return null;  //To change body of created methods use File | Settings | File Templates.
    }

    public Customer getCustomer(Long customerId) {
        return null;  //To change body of created methods use File | Settings | File Templates.
    }

    public void removeCustomer(Long customerId) {
        //To change body of created methods use File | Settings | File Templates.
    }

    public void setAddress(String street, String city, String state, String zip, String phone, String email, Long customerId) {
        //To change body of created methods use File | Settings | File Templates.
    }

    public void setName(String lastName, String firstName, String middleInitial, Long customerId) {
        //To change body of created methods use File | Settings | File Templates.
    }
}
